package com.example.bbs.http.bean.admin;

import com.example.bbs.bean.Admin;
import com.example.bbs.http.bean.HttpSendBasic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("管理员身份状态")
public class AdminStatue extends HttpSendBasic {

    @ApiModelProperty("管理员")
    private String adminname;

    public AdminStatue() {
    }

    public AdminStatue(Admin admin) {
        this.adminname = admin.getAdminname();
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }
}
